package com.example.test622.login

import android.os.Bundle
import android.widget.Toast
import androidx.activity.enableEdgeToEdge
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.ViewCompat
import androidx.core.view.WindowInsetsCompat
import com.alibaba.android.arouter.facade.annotation.Route
import com.alibaba.android.arouter.launcher.ARouter
import com.example.common.mvi.BaseView
import com.example.common.mvi.BaseViewModel
import com.example.test622.R
import com.example.test622.databinding.ActivityRegisterBinding

@Route(path = "/login/register")
class RegisterActivity :BaseView<ActivityRegisterBinding,BaseViewModel<*,*>>() {
	override fun initView() {
		binding.btnR.setOnClickListener {
			Toast.makeText(this, "注册成功", Toast.LENGTH_SHORT).show()
			ARouter.getInstance().build("/splash/login").navigation()
		}
	}
	
	override fun initData() {
	
	}
	
}